using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace WPCoco
{
    public static class ParserHelper
    {
        public static float[] GetValues(string str)
        {
            string[] chunks = str.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
            float[] v = new float[chunks.Length];
            for (int i = 0; i < chunks.Length; i++)
                v[i] = float.Parse(chunks[i]);
            return v;
        }
    }
}
